package com.greenova.theprojector.biz.entities;

import java.util.List;

public class Employee {
	
	public Integer getEmployeeId() {
		return employeeId;
	}
	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public List<String> getProjectAssignments() {
		return projectAssignments;
	}
	public void setProjectAssignments(List<String> projectAssignments) {
		this.projectAssignments = projectAssignments;
	}
	
	public String getFullName(){
		return firstName + " " + lastName;
	}
	
	@Override
    public String toString() {
        return "Employee [Id="+this.employeeId+", Name=" + this.lastName + "," + this.lastName + " Assignment/s="+this.projectAssignments+" ]";
    }
	
	private Integer employeeId;
	private String firstName;
	private String lastName;
	private List<String> projectAssignments;	
}
